package org.deltaset.desktop;

import java.io.Serializable;

/**
 *
 * @author dmakariev
 */
public class DesktopContext implements Serializable {

    private MenuItem currentMenuItem;
    private AppItem currentApp;
    private String pageSrc;

    public DesktopContext() {
    }

    public DesktopContext(MenuItem currentMenuItem, AppItem currentApp, String pageSrc) {
        this.currentMenuItem = currentMenuItem;
        this.currentApp = currentApp;
        this.pageSrc = pageSrc;
    }

    public MenuItem getCurrentMenuItem() {
        return currentMenuItem;
    }

    public void setCurrentMenuItem(MenuItem currentMenuItem) {
        this.currentMenuItem = currentMenuItem;
    }

    public AppItem getCurrentApp() {
        return currentApp;
    }

    public void setCurrentApp(AppItem currentApp) {
        this.currentApp = currentApp;
    }

    public String getPageSrc() {
        return pageSrc;
    }

    public void setPageSrc(String pageSrc) {
        this.pageSrc = pageSrc;
    }
}
